#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<stdbool.h>
typedef int treetype;
typedef struct treenode
{
	treetype val;
	struct treenode* left;
	struct treenode* right;
}tree;
void creattree(tree** root);
bool treefind(tree* root, treetype x);
int sizenode(tree* root, int k);